﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Web;

namespace CompanyDic.SearchEngine
{
    class Program
    {
        static void Main(string[] args)
        {
            //string uri = "http://sou.zhaopin.com/jobs/jobsearch_jobtype.aspx?jl=%E4%B8%8A%E6%B5%B7&sm=0&p=1";

            //string html = WebHelper.GetHtml(uri);
            //HtmlAnalyzer analyzer = new HtmlAnalyzer(html);
            //var aa = analyzer.CompanyList;


            //UrlBuilder builder  = new UrlBuilder();
            //List<string> urls;
            //while ((urls = builder.GetUrls()).Count > 0)
            //{
            //    foreach (string url in urls)
            //    {
            //        Console.WriteLine(url);
            //    }
            //}

            PageParser parser = new PageParser();
            parser.ParseSummary();
        }
    }
}
